package com.lhp.demo.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.lhp.demo.client.ConsumerClient;
import com.lhp.demo.client.GetDcClient;

@RestController
public class ConsumerController {
    @Autowired
    ConsumerClient client;
    
    @GetMapping("/consumer")
    public String con() {
        return client.consumer();
    }
}
